Yes, this problem actually comes from Roblox itself (How to disable roblox's Shift Lock - #2 by StrongBigeMan9) :
*Note: If a player already had shift lock turned on when this happens, they won’t be able to turn it off until the
DevEnableMouseLock
property is enabled again.
There’s not much you can do I think