Also, do not take the fact that we both mentioned Kitchen Safe as an endorsement of the product or anything, it is simply the most well-known timed safe for household use, and the timer range is in the same order of magnitude as a reasonable hygiene unlock interval.
If you have a locker at school or something, you could also deposit the key over there on weekdays. Will not protect you from weekend wank sessions of course, but there is nothing bad about taking an occasional masturbation break if you are not masturbating several times every day, and you do need to take it off sometimes for cleaning anyway.
So, did you just get started two weeks ago? How often do you take it off currently?
Also, just out of curiosity, may I ask what style of cage you use and how well keeping it clean between hygiene unlocks works for you?