You can disable the lock screen in Windows 11 with Registry Editor and Group Policy Editor as outlined in this guide.