Just watch the 5 minutes of his routine again, it has to be a prison, not a psychiatric facility:
An authority figure opens up his room using a sliding (not hinged) door - he's apparently not allowed to leave said room until then, at which point he has to get dressed and fix his bed.
He then...