I own a few (M&P's in 9 and .40, Glock in .357 SIG, XDMs in 9, Browning in 9, Colts in .45 acp, CZ's in 9 and .40) and none of them lock back unless there is an empty magazine in them - that is, if you just pull the slide to the rear and release it.
If you don't have a magazine in them you can pull the slide back, push upwards on the slide lock while letting the slide go forward and then the slide lock will also keep the slide held to the rear.