Ask a landlord-tenant lawyer and get answers ASAP
Hello and welcome! My name is ***** ***** I will try my level best to help with your situation or get you to someone who can.
If the tenants never turned in their keys, then they would still be considered to be in legal possession of the property until you took action to end any access that they might have had. So here, that would be when you changed the locks so that any keys that they kept would then be inoperable. Turning in the keys is the primary indicator that they are surrendering legal possession back to the landlord.
So the time when the 45 days would start to run would be the day you changed the locks.