In most cases, yes. It’s advisable to consult with your landlord first and obtain written permission before modifying the locks.