Could one be looking at an adjustable automatic door-operated light-switch? In that case, the screws may appear to be loose but merely go to indicate the state of the adjustment.
On the other hand, the two, [ small I do assure you ], glasses of 'The Balvenie' single malt that I imbibed after supper this evening may be clouding my judgement somewhat.
This is a new style of dead bolt. When the burglar breaks into the room, the door latch flys backward and turns on the room lights, so that he won't trip over anything in the room!