If you have a pump-gun that will unlock without pulling the trigger or pushing the release then either there is a mechanical problem with the gun, it wasn't fully in battery, or it is a really crappy design (basically a blow-back semi with no recoil spring)