Made lock static