Linux: run as root and can read lock status