Added portrait lock