Simple php lock