Look at your lease. It should have a provision stating when the landlord can come...unannounced is almost never ok. If there is no provision, the law tells the parties to act reasonably. Showing up unannounced is not reasonable. You should write a letter to your landlord and explain that you will allow entry at reasonable times with proper advance notice.