Create a class for the Lock/Unlock (Rate of Fire).