Mechanical lock with night- and day functions. The lock can be opened from outside by a key and inside by a handle. The lock deadlocks automatically when the door closes. Snib can be set for secure and daytime positions. Daytime snib position enables handle usage. Secure snib position keeps outside handle freewheeling.