How to check file lock correctly in Portugal #lifelivingandtraveling