I've been fiddling with my first mod for skyrim, and my first try at scripting in an elder scrolls game. What I want to do, is to have a door locked initially, without the player being able to open it, and then unlock via a script. However, I can't really seem to find any function or otherwise to do so. Help would be much appreciated, thanks

)