I saw that there was a thread for double-tap to lock with Nova Launcher, but as I use Apex Launcher Pro I played around a bit to find something similar. And I succeeded. :)
Here is how you can get this feature back:
- go into Apex settings
- choose "Behavior setting"
- look up "Desktop...