lock graphics