Add resource locks to server instance