`event` carries lots of other information that is not used in the function. I would suggest to simply use `screenLocked` as the parameter to make the function more readable.