Default button lock

I have just iunstalled the new Jwrights rom, but the button lock only seems to work if you power off the device via the button rather than closing the screen, I panicked when I found I only had 1mb of free ram, but seems I recorded a video of my pocket. is it me or is a new feature of mw6?