I've read several times that many HSMs support configurable rate limiting on cryptographic operations, as a way of protecting against a hacker that compromises a server that has access to the HSM. So if a hacker compromised a server and then attempted to send one million requests to the HSM over the course of an hour (to decrypt all of the data files, for example) then the HSM would stop responding to requests and would possibly also send an alert to the sysadmins.
This led me to thinking about a situation in which some highly sensitive data was needed for use on a strict weekly schedule. As an example, perhaps a special verification program needs to be run once per week on Tuesday, to check over the data from the past week. If this were the case, then perhaps it would be useful to be able to configure an HSM to only allow certain data files to be decrypted once per week, on Tuesday, between the hours of 9:00 am and 11:00 am. If a hacker managed to compromise this server on Wednesday, then the hacker wouldn't be able to decrypt anything for almost an entire week. They would just have to maintain their intrusion and wait. Perhaps an attempt to decrypt at any other time could also generate an alert as well.
Is this actually a feature that some commercial HSM vendors have implemented? Or is this whole "time locking" thing actually a stupid idea to begin with?